package com.jml.spring.handler;

public class IntegerTypeHandler implements TypeHandler{
    @Override
    public boolean supports(Class type) {
        return type == Integer.class;
    }

    @Override
    public Object handleType(String stringValue) {
        return Integer.parseInt(stringValue);
    }
}
